package cn.baimo.service.serviceImpl;

import cn.baimo.mapper.DivisionMapper;
import cn.baimo.pojo.Division;
import cn.baimo.service.DivisionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DivisionServiceImpl implements DivisionService {
    @Autowired
    private DivisionMapper divisionMapper;
    @Override
    public List<Division> selectDivisions() {
        return divisionMapper.selectDivisions();
    }
}
